home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00b.txt / 000121_icon-group-sender_Mon Oct 30 08:30:09 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9UFSAZ25668
  4.     for icon-group-addresses; Mon, 30 Oct 2000 08:28:10 -0700 (MST)
  5. Message-Id: <200010301528.e9UFSAZ25668@baskerville.CS.Arizona.EDU>
  6. Delivered-To: fixup-icon-group@CS.Arizona.EDU@fixme
  7. Date: Fri, 27 Oct 2000 19:19:53 -0600
  8. From: Cheyenne Wills <cheyenne_wills@qwest.net>
  9. X-Accept-Language: en
  10. To: icon-group@cs.arizona.edu
  11. Subject: Re: Sweating over scanning?
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: RO
  14. Content-Length: 814
  15.  
  16. "William H. Mitchell" wrote
  17. > Procedures for changing &pos:
  18. >  move(n)        relative adjustment; string result
  19. >  tab(n) absolute adjustment; string result
  20.  
  21. And the result of move and tab is to return a string from the
  22. "subject".  The string returned is the string that was "passed" over
  23. doing the move or the tab.
  24.  
  25.  
  26. > Procedures often used in conjunction with tab(n):
  27. >  upto(c)        generates positions of characters in c
  28. >  many(c)        produces position after run of characters in c
  29. >  find(s)        generates positions of s
  30. >  match(s)       produces position after s, if s is next
  31. >  any(c) produces position after a character in c
  32.  
  33. And the result of the above is a number
  34.  
  35. The Icon book has a good chapter on string scanning and how to write
  36. your own string scanning functions
  37.  
  38. Cheyenne
  39.